package yl.hs.bmipfull.pojo.production;

import lombok.Data;
import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;

/**
 * @author 谢东
 * @apiNote 成品出库记录明细-子表实体类
 * @since 2023年06月14日 15时49分35秒
 */
@DBTable(disName = "成品出库记录明细-子表", mapCode = "finish_product_outbound_record_detail")
@Data
public class FinishProductOutboundRecordDetailEntity extends BaseEntity {

    /**
     * 主键
     */
    @Nullable
    private Long id;
    /**
     * 编号
     */
    @DBField(disName = "成品出库记录明细-子表编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "")
    private String sn;
    /**
     * 产品类别编号
     */
    private String productCateSn;
    /**
     * 产品类别名称
     */
    private String productCateName;
    /**
     * 产品编号
     */
    private String productSN;
    /**
     * 产品名称
     */
    private String productName;
    /**
     * 产品规格
     */
    private String productSpec;
    /**
     * 出库数量
     */
    private BigDecimal quantity;
    /**
     * 出库重量
     */
    private BigDecimal weight;
    /**
     * 包装编号
     */
    private String packageSn;
    /**
     * 包装重量
     */
    private BigDecimal packageWeight;
    /**
     * 包装单位
     */
    private String packageUnit;
    /**
     * 配比编号
     */
    private String pbSn;
    /**
     * 配比名称
     */
    private String pbName;
    /**
     * 销售订单编号
     */
    private String recordSN;
    /**
     * 状态
     */
    private Short state;
    /**
     * 包装名称
     */
    private String packageName;
    /**
     * 仓库编号
     */
    private String wareHouseSN;

    /**
     * 仓库名称
     */
    private String wareHouseName;

    public void setId(Long id) {
        this.id = id;
    }

    public Long getId() {
        return this.id;
    }

    public void setSn(String sn) {
        this.sn = sn;
    }

    public String getSn() {
        return this.sn;
    }

    public void setProductCateSn(String productCateSn) {
        this.productCateSn = productCateSn;
    }

    public String getProductCateSn() {
        return this.productCateSn;
    }

    public void setProductCateName(String productCateName) {
        this.productCateName = productCateName;
    }

    public String getProductCateName() {
        return this.productCateName;
    }

    public void setProductSN(String productSN) {
        this.productSN = productSN;
    }

    public String getProductSN() {
        return this.productSN;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductName() {
        return this.productName;
    }

    public void setProductSpec(String productSpec) {
        this.productSpec = productSpec;
    }

    public String getProductSpec() {
        return this.productSpec;
    }

    public void setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }

    public BigDecimal getQuantity() {
        return this.quantity;
    }

    public void setWeight(BigDecimal weight) {
        this.weight = weight;
    }

    public BigDecimal getWeight() {
        return this.weight;
    }

    public void setPackageSn(String packageSn) {
        this.packageSn = packageSn;
    }

    public String getPackageSn() {
        return this.packageSn;
    }

    public void setPackageWeight(BigDecimal packageWeight) {
        this.packageWeight = packageWeight;
    }

    public BigDecimal getPackageWeight() {
        return this.packageWeight;
    }

    public void setPackageUnit(String packageUnit) {
        this.packageUnit = packageUnit;
    }

    public String getPackageUnit() {
        return this.packageUnit;
    }

    public void setPbSn(String pbSn) {
        this.pbSn = pbSn;
    }

    public String getPbSn() {
        return this.pbSn;
    }

    public void setPbName(String pbName) {
        this.pbName = pbName;
    }

    public String getPbName() {
        return this.pbName;
    }

    public void setRecordSN(String recordSN) {
        this.recordSN = recordSN;
    }

    public String getRecordSN() {
        return this.recordSN;
    }

    public void setState(Short state) {
        this.state = state;
    }

    public Short getState() {
        return this.state;
    }

    public void setPackageName(String packageName) {
        this.packageName = packageName;
    }

    public String getPackageName() {
        return this.packageName;
    }

}